home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / formbe1r / frmtttma.frm (.txt) < prev    next >
Visual Basic Form  |  1999-08-09  |  3KB  |  88 lines

  1. VERSION 5.00
  2. Begin VB.Form frmTTTMain 
  3.    BackColor       =   &H00000000&
  4.    BorderStyle     =   1  'Fixed Single
  5.    Caption         =   "Tic Tac Toe"
  6.    ClientHeight    =   2400
  7.    ClientLeft      =   45
  8.    ClientTop       =   345
  9.    ClientWidth     =   4680
  10.    ClipControls    =   0   'False
  11.    ControlBox      =   0   'False
  12.    BeginProperty Font 
  13.       Name            =   "Comic Sans MS"
  14.       Size            =   8.25
  15.       Charset         =   0
  16.       Weight          =   400
  17.       Underline       =   0   'False
  18.       Italic          =   0   'False
  19.       Strikethrough   =   0   'False
  20.    EndProperty
  21.    ForeColor       =   &H000000FF&
  22.    LinkTopic       =   "Form1"
  23.    MaxButton       =   0   'False
  24.    MinButton       =   0   'False
  25.    ScaleHeight     =   2400
  26.    ScaleWidth      =   4680
  27.    StartUpPosition =   3  'Windows Default
  28.    Begin VB.CommandButton Command2 
  29.       Caption         =   "Exit"
  30.       Height          =   375
  31.       Left            =   3240
  32.       TabIndex        =   3
  33.       Top             =   1680
  34.       Width           =   1095
  35.    End
  36.    Begin VB.CommandButton cmd2Player 
  37.       Caption         =   "Two Player"
  38.       Height          =   375
  39.       Left            =   1800
  40.       TabIndex        =   2
  41.       Top             =   1680
  42.       Width           =   1095
  43.    End
  44.    Begin VB.CommandButton cmdOnePlayer 
  45.       Caption         =   "One Player"
  46.       Height          =   375
  47.       Left            =   360
  48.       TabIndex        =   1
  49.       Top             =   1680
  50.       Width           =   1095
  51.    End
  52.    Begin VB.Label Label1 
  53.       BackStyle       =   0  'Transparent
  54.       Caption         =   "Tic Tac Toe"
  55.       BeginProperty Font 
  56.          Name            =   "Comic Sans MS"
  57.          Size            =   36
  58.          Charset         =   0
  59.          Weight          =   400
  60.          Underline       =   0   'False
  61.          Italic          =   0   'False
  62.          Strikethrough   =   0   'False
  63.       EndProperty
  64.       ForeColor       =   &H000000FF&
  65.       Height          =   975
  66.       Left            =   240
  67.       TabIndex        =   0
  68.       Top             =   240
  69.       Width           =   4095
  70.    End
  71. Attribute VB_Name = "frmTTTMain"
  72. Attribute VB_GlobalNameSpace = False
  73. Attribute VB_Creatable = False
  74. Attribute VB_PredeclaredId = True
  75. Attribute VB_Exposed = False
  76. Private Sub cmdOnePlayer_Click()
  77. Me.Hide
  78. frm1Player.Show
  79. End Sub
  80. Private Sub cmd2player_Click()
  81. Me.Hide
  82. frm2Player.Show
  83. End Sub
  84. Private Sub Command2_Click()
  85. frmTTTMain.Hide
  86. who = MsgBox("This game was programmed by Ben Doherty" & Chr$(10) & Chr$(10) & "       jake-d@mindspring.com" & Chr$(10) & "http://www.mindspring.com/~jake-d/index.html", vbInformation, "Tic Tac Toe")
  87. End Sub
  88.